YAYDP\Core\Offer_Description\YAYDP_Offer_Description B

Total Complexity 77
Dependencies 5
Dependents 1
Total lines 413
Lines of code 293
Logical lines of code 192
Comment lines 86
Methods 21
Properties 4

Methods 21

Method Rating Maintainability Complexity Lines of code
get_formatted_discount_value_for_bulk_pricing()
S
46 6 36
get_formatted_discount_amount_for_bulk_pricing()
S
47 6 35
get_formatted_discounted_price_for_bulk_pricing()
S
47 5 34
get_formatted_discount_value()
S
59 6 14
get_formatted_discount_amount()
S
59 6 14
get_formatted_discounted_price()
S
59 6 14
__construct()
S
60 5 14
get_formatted_discount_value_for_other_cases()
S
55 4 18
get_formatted_discount_amount_for_other_cases()
S
55 4 18
can_display()
S
60 4 14
get_formatted_discounted_price_for_other_cases()
S
56 3 16
get_raw_content()
S
69 4 6
replace_discount_value()
S
64 3 10
replace_discount_amount()
S
64 3 10
replace_discounted_price()
S
64 3 10
get_formatted_discount_amount_for_free_item()
S
62 2 10
show_when_match_conditions()
S
78 2 3
is_enabled()
S
78 2 3
get_formatted_discount_value_for_free_item()
S
75 1 4
get_content()
S
69 1 7
get_formatted_discounted_price_for_free_item()
S
80 1 3